﻿using System;

namespace Devonline.Core
{
    /// <summary>
    /// 此特性用于设置实体对象字段对应的业务类型, 即不可重复, 可设置多个字段
    /// </summary>
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field, Inherited = true)]
    public sealed class BusinessTypeAttribute : Attribute
    {
        /// <summary>
        /// 业务类型
        /// </summary>
        public string Name { get; set; }
    }
}
